package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * 
 * @ClassName: MrTransDep  
 * @Description ：    转科科室
 * @Date: 2017年10月12日 下午4:10:46  
 * @Author LiuHongJun 
 * @Version 3.0.0 DHC-DRGs
 */
@Entity
@Table (name = "MR_TRANSDEP", schema = "DRGs")
public class MrTransDep extends KoalaLegacyEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "PMAININDEX")
	private String pmainIndex;
	
	@Column(name = "PT0011")
	private String pt0011;

	@Column(name = "PT0010")
	private String pt0010;

	@Column(name = "PT0021")
	private String pt0021;

	@Column(name = "PT0020")
	private String pt0020;

	@Column(name = "PT0030")
	private Integer pt0030;

	@Column(name = "PTINDEX")
	private Integer ptindex;

	public MrTransDep() {
		super();
	}

	public MrTransDep(String pmainIndex, String pt0011, String pt0010, String pt0021, String pt0020, Integer pt0030,
			Integer ptindex) {
		super();
		this.pmainIndex = pmainIndex;
		this.pt0011 = pt0011;
		this.pt0010 = pt0010;
		this.pt0021 = pt0021;
		this.pt0020 = pt0020;
		this.pt0030 = pt0030;
		this.ptindex = ptindex;
	}


	public String getPmainIndex() {
		return pmainIndex;
	}

	public void setPmainIndex(String pmainIndex) {
		this.pmainIndex = pmainIndex;
	}

	public String getPt0011() {
		return pt0011;
	}

	public void setPt0011(String pt0011) {
		this.pt0011 = pt0011;
	}

	public String  getPt0010() {
		return pt0010;
	}

	public void setPt0010(String pt0010) {
		this.pt0010 = pt0010;
	}

	public String getPt0021() {
		return pt0021;
	}

	public void setPt0021(String pt0021) {
		this.pt0021 = pt0021;
	}

	public String getPt0020() {
		return pt0020;
	}

	public void setPt0020(String pt0020) {
		this.pt0020 = pt0020;
	}

	public Integer getPt0030() {
		return pt0030;
	}

	public void setPt0030(Integer pt0030) {
		this.pt0030 = pt0030;
	}

	public Integer getPtindex() {
		return ptindex;
	}

	public void setPtindex(Integer ptindex) {
		this.ptindex = ptindex;
	}

	@Override
	public Serializable getId() {
		return pmainIndex;
	}

	@Override
	public String[] businessKeys() {
		return null;
	}
/**
 * 
 *  drTransDepMap.  
 *  @Description：xml接口反射使用
 *  @Author LiuHongjun
 *  @return 
 *  @Date:2017年10月17日下午1:57:45
 */
	public Map<String, Object> drTransDepMap() {
		Map<String,Object> map=new HashMap<>();
		map.put("PMAININDEX", "pmainIndex");
		return map;
	}

}
